This property returns the document format as a numerical value.
Document
Read-Only Integer Property
If App.ActiveTab.Item(0).Format = 51 Then MsgBox "The first document in the search results is a PDF" End If
Macro Object Model